package pers.qianyu.module.core.domain.image.vo;

import pers.qianyu.module.core.comm.*;
import pers.qianyu.module.core.domain.system.vo.*;

import java.util.*;

/**
 * @author mizzle rain
 * @date 2020-11-05 15:31
 */
public class ImageVO extends BaseVO {
    private static final long serialVersionUID = -8376908558786213759L;
    private String url;
    private String title;
    private String description;
    private String[] label;
    private Long likes;
    private Long comments;
    private Long views;
    private Long favorites;
    private String status;
    private String remark;
    private SimpleUserVO creator;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getFavorites() {
        return favorites;
    }

    public void setFavorites(Long favorites) {
        this.favorites = favorites;
    }

    public Long getComments() {
        return comments;
    }

    public void setComments(Long comments) {
        this.comments = comments;
    }

    public Long getViews() {
        return views;
    }

    public void setViews(Long views) {
        this.views = views;
    }

    public SimpleUserVO getCreator() {
        return creator;
    }

    public void setCreator(SimpleUserVO creator) {
        this.creator = creator;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String[] getLabel() {
        return label;
    }

    public void setLabel(String[] label) {
        this.label = label;
    }

    public Long getLikes() {
        return likes;
    }

    public void setLikes(Long likes) {
        this.likes = likes;
    }

    @Override
    public String toString() {
        return "ImageVO{" +
                "url='" + url + '\'' +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", label=" + Arrays.toString(label) +
                ", likes=" + likes +
                ", comments=" + comments +
                ", views=" + views +
                ", favorites=" + favorites +
                ", creator=" + creator +
                ", id=" + getId() +
                ", createTime='" + getCreateTime() + '\'' +
                ", updateTime='" + getUpdateTime() + '\'' +
                ", createdBy=" + getCreatedBy() +
                ", updatedBy=" + getUpdatedBy() +
                '}';
    }
}
